<div class="municipios view">
<h2><?php  __('Municipio');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $municipio['Municipio']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nombre'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $municipio['Municipio']['nombre']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Departamento'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $municipio['Departamento']['nombre']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Creado'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $municipio['Municipio']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modificado'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $municipio['Municipio']['modified']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Municipio', true), array('action' => 'edit', $municipio['Municipio']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Municipio', true), array('action' => 'delete', $municipio['Municipio']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $municipio['Municipio']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Municipios', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Municipio', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Departamentos', true), array('controller' => 'departamentos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Departamento', true), array('controller' => 'departamentos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Asistencias', true), array('controller' => 'asistencias', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Asistencia', true), array('controller' => 'asistencias', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Informemensuales', true), array('controller' => 'informemensuales', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Informemensuale', true), array('controller' => 'informemensuales', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Relatorias', true), array('controller' => 'relatorias', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Relatoria', true), array('controller' => 'relatorias', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Entidades', true), array('controller' => 'entidades', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Entidade', true), array('controller' => 'entidades', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Users', true), array('controller' => 'users', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Asistencias');?></h3>
	<?php if (!empty($municipio['Asistencia'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Momento Id'); ?></th>
		<th><?php __('Municipio Id'); ?></th>
		<th><?php __('Entidade Id'); ?></th>
		<th><?php __('Asistentes'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($municipio['Asistencia'] as $asistencia):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $asistencia['id'];?></td>
			<td><?php echo $asistencia['momento_id'];?></td>
			<td><?php echo $asistencia['municipio_id'];?></td>
			<td><?php echo $asistencia['entidade_id'];?></td>
			<td><?php echo $asistencia['asistentes'];?></td>
			<td><?php echo $asistencia['created'];?></td>
			<td><?php echo $asistencia['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'asistencias', 'action' => 'view', $asistencia['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'asistencias', 'action' => 'edit', $asistencia['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'asistencias', 'action' => 'delete', $asistencia['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $asistencia['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Asistencia', true), array('controller' => 'asistencias', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Informemensuales');?></h3>
	<?php if (!empty($municipio['Informemensuale'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Municipio Id'); ?></th>
		<th><?php __('Mes Ano'); ?></th>
		<th><?php __('Logros'); ?></th>
		<th><?php __('Dificultades'); ?></th>
		<th><?php __('Proyecciones'); ?></th>
		<th><?php __('Seguimientos'); ?></th>
		<th><?php __('Observaciones'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Aprobador Id'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($municipio['Informemensuale'] as $informemensuale):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $informemensuale['id'];?></td>
			<td><?php echo $informemensuale['municipio_id'];?></td>
			<td><?php echo $informemensuale['mes_ano'];?></td>
			<td><?php echo $informemensuale['logros'];?></td>
			<td><?php echo $informemensuale['dificultades'];?></td>
			<td><?php echo $informemensuale['proyecciones'];?></td>
			<td><?php echo $informemensuale['seguimientos'];?></td>
			<td><?php echo $informemensuale['observaciones'];?></td>
			<td><?php echo $informemensuale['user_id'];?></td>
			<td><?php echo $informemensuale['aprobador_id'];?></td>
			<td><?php echo $informemensuale['created'];?></td>
			<td><?php echo $informemensuale['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'informemensuales', 'action' => 'view', $informemensuale['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'informemensuales', 'action' => 'edit', $informemensuale['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'informemensuales', 'action' => 'delete', $informemensuale['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $informemensuale['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Informemensuale', true), array('controller' => 'informemensuales', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Relatorias');?></h3>
	<?php if (!empty($municipio['Relatoria'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Producto Id'); ?></th>
		<th><?php __('Municipio Id'); ?></th>
		<th><?php __('Descripcion Actividades'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($municipio['Relatoria'] as $relatoria):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $relatoria['id'];?></td>
			<td><?php echo $relatoria['producto_id'];?></td>
			<td><?php echo $relatoria['municipio_id'];?></td>
			<td><?php echo $relatoria['descripcion_actividades'];?></td>
			<td><?php echo $relatoria['created'];?></td>
			<td><?php echo $relatoria['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'relatorias', 'action' => 'view', $relatoria['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'relatorias', 'action' => 'edit', $relatoria['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'relatorias', 'action' => 'delete', $relatoria['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $relatoria['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Relatoria', true), array('controller' => 'relatorias', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Entidades');?></h3>
	<?php if (!empty($municipio['Entidade'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Nombre'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($municipio['Entidade'] as $entidade):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $entidade['id'];?></td>
			<td><?php echo $entidade['nombre'];?></td>
			<td><?php echo $entidade['created'];?></td>
			<td><?php echo $entidade['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'entidades', 'action' => 'view', $entidade['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'entidades', 'action' => 'edit', $entidade['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'entidades', 'action' => 'delete', $entidade['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $entidade['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Entidade', true), array('controller' => 'entidades', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Users');?></h3>
	<?php if (!empty($municipio['User'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Nombre'); ?></th>
		<th><?php __('Apellido'); ?></th>
		<th><?php __('Username'); ?></th>
		<th><?php __('Password'); ?></th>
		<th><?php __('Correo'); ?></th>
		<th><?php __('Group Id'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($municipio['User'] as $user):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $user['id'];?></td>
			<td><?php echo $user['nombre'];?></td>
			<td><?php echo $user['apellido'];?></td>
			<td><?php echo $user['username'];?></td>
			<td><?php echo $user['password'];?></td>
			<td><?php echo $user['correo'];?></td>
			<td><?php echo $user['group_id'];?></td>
			<td><?php echo $user['created'];?></td>
			<td><?php echo $user['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'users', 'action' => 'view', $user['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'users', 'action' => 'edit', $user['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'users', 'action' => 'delete', $user['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $user['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New User', true), array('controller' => 'users', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
